﻿@*父菜單下拉框*@

@*需要使用select2.js來優化他的顯示，而且一般應該占用9個長度*@
@model MenuSelectModel
@{
    var list = Model?.Menus ?? new List<MenuListModel>(0);
}
<style>
    l1 {
        padding-left: 1em;
    }

    l2 {
        padding-left: 2em;
    }

    l3 {
        padding-left: 3em;
    }

    l4 {
        padding-left: 4em;
    }
    
</style>
<select class="select2 form-control" id="menuSelect" name="parentId">
    @Html.Partial("_MenuChild", new ViewDataDictionary { { "List", Model?.Menus }, { "Deep", 1 } })
</select>
<script>
</script>